import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';

export class RateShowResult{
  @ApiProperty()
  bizUuid: string;

  @ApiPropertyOptional({
    nullable: true
  })
  averageScore: number | null;

  @ApiProperty()
  userCount: number;
}

export class RateShowByLoginResult extends RateShowResult{
  @ApiPropertyOptional({
    nullable: true
  })
  currentUserScore: number | null;
}
